package com.sinosoft.dsp.component.bpm.viewbean.event.part;

import java.util.ArrayList;
import java.util.List;

import com.sinosoft.dsp.component.bpm.service.core.BpmSelectItemsService;
import com.sinosoft.dsp.component.bpm.viewbean.BpmParameterObject;
import com.sinosoft.dsp.component.bpm.viewbean.event.BpmAbstractActivityEventObject;
import com.sinosoft.dsp.component.bpm.viewbean.event.IBpmActivityEventObject;

public class BpmEventEventHqlObject extends BpmAbstractActivityEventObject
		implements IBpmActivityEventObject {

	// 事件类别
	private String type = BpmSelectItemsService.SELECT_ITEM_EVENT_DEFINE_TYPE_HQL;

	private String var;

	private String unique;

	private String query;

	private List<BpmParameterObject> parameters = new ArrayList<BpmParameterObject>();

	public String getVar() {
		return var;
	}

	public void setVar(String var) {
		this.var = var;
	}

	public String getUnique() {
		return unique;
	}

	public void setUnique(String unique) {
		this.unique = unique;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public List<BpmParameterObject> getParameters() {
		return parameters;
	}

	public void setParameters(List<BpmParameterObject> parameters) {
		this.parameters = parameters;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
